<html>
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
	<title>绑定微信账号</title>

	<link href="{$root}/public/css/bootstrap.min.css" rel="stylesheet">


</head>
<body>

	<div class="container">

		<form method="POST" action="{$root}/index.php/Oauth/bandSubmit">
			<input type='hidden' name='openid' value="{$user['openid']}"/> 

			<h2 class="form-signin-heading">请输入您的打卡器账号</h2>

			<div class="form-group"> 
				<label for="inputMobile" class="sr-only">手机号码</label>
				<input type="number" id="inputMobile" name="mobile"  class="form-control" placeholder="手机号码" required autofocus>
			</div>

			<div class="form-group">
				<label for="inputPassword" class="sr-only">登陆密码</label>
				<input type="password" id="inputPassword" name="password" class="form-control" placeholder="登陆密码" required>
			</div>

			<button class="btn btn-lg btn-primary btn-block" type="submit">绑定微信账号</button>
			
		</form>

		<p></p>

		<div class="text-center">
			<label>
			<a href="{$url_connect_code}?appid={$app_id}&redirect_uri={$app_path}/index.php/Oauth/registBand&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect">没有账号，立即注册。</a>
			</label>
		</div>


	</div> <!-- /container -->


</body>
</html>